
//***********************************************
//
//      Filename: GradeReport.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-04-08 18:12:40
// Last Modified: 2018-04-08 18:12:40
//***********************************************
import java.util.Scanner;

public class GradeReport
{
public static void main(String[]args)
{
int grade, category;
Scanner scan = new Scanner(System.in);

System.out.print("Enter a numeric grade (0 to 100): ");
grade = scan.nextInt();

category = grade / 10;

System.out.print("That grade is : ");

switch(category)
{
  case 10 :
System.out.println("a perfect score.Well done.");
  break;
  case 9 :
System.out.println("well above average. Excellent.");
  break;
  case 8:
System.out.println("above average. Nice job.");
break;
case 7:
System.out.println("average. ");
break;
case 6:
System.out.println("below average.You should see the");
System.out.println("instructor t clarify the material " + "presented in class.");
break;
default:
 System.out.println("not passing.");
}
}
}

